package org.zky.dao;

import java.sql.SQLException;
import java.util.List;

import org.zky.entities.Contact;

/**
 * @ClassName: IContactDao
 * @Description:
 * @author zhaokunyang@utry.cn
 * @date 2015年10月4日 上午11:54:32
 * 
 */

public interface IContactDao {
	public void addContact(Contact contact) throws SQLException;

	public void delContact(Contact contact) throws SQLException;

	public Contact findContact(Contact contact) throws SQLException;

	public List<Contact> findContacts(Contact contact) throws SQLException;

	public Contact findContactById(int id) throws SQLException;
}
